﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CityAdminManager.aspx.cs" Inherits="HealthSystem.sysAdmin.CtityAdminManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager runat="server" AutoSizePanelID="p1" />
    <ext:Panel runat="server" ID="p1" Layout="Fit" Title="各级管理员">
        <Toolbars>
            <ext:Toolbar runat="server">
                <Items>
                    <ext:Label Text="管理员类型" runat="server"></ext:Label>
                    <ext:DropDownList runat="server" ID="usertype" OnSelectedIndexChanged="usertype_Changed" AutoPostBack="true">
                        <ext:ListItem Value="" Text="全部" />
                        <ext:ListItem  Value="a" Text="市级管理员"/>
                        <ext:ListItem  Value="b" Text="区级级管理员"/>
                        <ext:ListItem  Value="c" Text="市级保健所管理员"/>
                        <ext:ListItem  Value="d" Text="区级保健所管理员"/>
                    </ext:DropDownList>
                    <ext:Label Text="搜索" runat="server"></ext:Label>
                    <ext:TriggerBox ID="triggSearch" runat="server" EmptyText="搜索管理员" OnTriggerClick="triggSearch_Click" TriggerIcon="Search"></ext:TriggerBox>
                    <ext:ToolbarSeparator runat="server"></ext:ToolbarSeparator>
                    <ext:Button runat="server" Text="导出Excel" ID="btnExport" OnClick="btnExport_Click"></ext:Button>
                    <ext:ToolbarFill runat="server"></ext:ToolbarFill>
                    <ext:Button runat="server" Icon="Add" Text="新增管理员" ID="btnNew" OnClick="btnNew_Click"></ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Grid ID="Grid1" DataKeyNames="XX_UserName,XX_UserName" runat="server" EnableTextSelection="true" OnRowCommand="Grid1_RowCommand" OnPageIndexChange="PageIndex_Changed" ShowBorder="false" ShowHeader="false">
                <Columns>
                    <ext:BoundField DataField="XX_UserName" HeaderText="账号" />
                    <ext:BoundField DataField="Name" HeaderText="市区域" />
                    <ext:BoundField DataField="xx_password" HeaderText="密码" />
                    <ext:BoundField DataField="WorkUnit" HeaderText="工作单位" />
                   <%-- <ext:BoundField DataField="Address" HeaderText="单位地址" />--%>
                   <%-- <ext:BoundField DataField="ZipCode" HeaderText="邮编" />--%>
                    <ext:BoundField DataField="CNName" HeaderText="联络员" />
                    <ext:BoundField DataField="OfficePhone" HeaderText="联系电话" />
                    <ext:BoundField DataField="MobilePhone" HeaderText="移动电话" />
                    <ext:BoundField DataField="Email" HeaderText="电子邮箱" />
                </Columns>
            </ext:Grid>
        </Items>
    </ext:Panel>
    <ext:Window ID="Window1" CloseAction="HidePostBack" runat="server" IsModal="true" Hidden="true" Target="Self"
        EnableResize="true" EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank"
        Width="600px" Height="550px" OnClose="Window1_Close">
    </ext:Window>
    <ext:Window ID="Window2" CloseAction="HidePostBack" runat="server" IsModal="false" Hidden="true" Target="Self"
        EnableResize="true" EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank" Title="导出管理员"
        Width="300px" Height="100px">
    </ext:Window>
    </form>
</body>
</html>
